package juc.singleton;

/**
 * 饿汉式,静态常量
 */
public class Singleton1 {
    private final static Singleton1 SINGLETON_1 = new Singleton1();

    private Singleton1() {
    }

    public static Singleton1 getInstance() {
        return SINGLETON_1;
    }
}
